from django.contrib.auth.views import LoginView, LogoutView
from django.urls import path

from server.apps.accounts.views import UserCreateView

app_name = 'accounts'

urlpatterns = [
    path(
        'login/',
        LoginView.as_view(template_name='accounts/login.html'),
        name='login',
    ),
    path(
        'logout/',
        LogoutView.as_view(),
        name='logout',
    ),
    path('registration/', UserCreateView.as_view(template_name='auth/user_form.html'), name='registration'),
    
]
